package com.wanshu.dao;

import com.wanshu.entity.Order;
import com.wanshu.entity.vo.ShopOrder;

import java.util.List;

public interface OrderDao {
    public List<Order> findAll();

    public Order findById(Integer id);

    public Integer insert(Order order);

    public Integer update(Order order);

    public Integer delete(Integer id);

    List<ShopOrder> selectByUserId(Integer userId);
}
